package com.googlecode.moneyManager.service;

import com.googlecode.moneyManager.model.CurrencyExchangeEvent;
import org.joda.time.DateTime;

import java.util.List;

/**
 * User: Sergiy Doroshenko
 * Date: Dec 14, 2010 11:26:23 PM
 */
public interface CurrencyExchangeEventService {
    boolean addEvent(CurrencyExchangeEvent currencyExchangeEvent);
    List<CurrencyExchangeEvent> findEvent(DateTime dateTime);
}
